#include "stdio.h"
#include "stdlib.h"

void printGrade(int);

int main()
{
    int iScore;

    scanf("%d", &iScore);

    printGrade(iScore);

    return 0;
}

/*
// normal way
void printGrade(int iScore)
{
    switch(iScore / 10)
    {
        case 10:
            printf("excellent\n");
            break;
        case 9: // this could be merged with case 10
            printf("excellent\n");
            break;
        case 8:
            printf("good\n");
            break;
        case 7:
            printf("average\n");
            break;
        case 6:
            printf("pool\n");
            break;
        default:
            printf("failing\n");
            break;
    }
}
*/

/*
// remove breaks
void printGrade(int iScore)
{
    switch(iScore / 10)
    {
        case 10:
            printf("excellent\n");
        case 9: // this could be merged with case 10
            printf("excellent\n");
        case 8:
            printf("good\n");
        case 7:
            printf("average\n");
        case 6:
            printf("pool\n");
        default:
            printf("failing\n");
    }
}
*/

// remove the default 
void printGrade(int iScore)
{
    switch(iScore / 10)
    {
        case 10:
            printf("excellent\n");
            break;
        case 9: // this could be merged with case 10
            printf("excellent\n");
            break;
        case 8:
            printf("good\n");
            break;
        case 7:
            printf("average\n");
            break;
        case 6:
            printf("pool\n");
            break;
    }
}

